<?php
namespace app\Admin\model;

use think\Db;
use think\Model;

class About extends Model
{
	public function get_About()
	{
		return Db::name('about')->where(array('id'=>1))->find();
	}

	public function Edit_About($data)
	{
		$about = new About;
		return $about->save($data,['id'=>1]);
	}
}